package commands;

import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;

import control.ComponentProvider;
import factory.components.Gate;

public class AddGate extends AbstractHandler {

	@Override
	public Object execute(ExecutionEvent event) {
		Gate gate = new Gate();
		ComponentProvider.INSTANCE.setComponent(gate);
		return null;
	}
}